home *** CD-ROM | disk | FTP | other *** search
-
- To the one known as Jens,
- > Hello, Sample-trouble online :)
- > I'm in a bunch of trouble with a sample-loader I'm trying to build into
- > a program. I want it to load several different formats.. BUT:
- > 1) How do I get the sample-rate of an IFF-8SVX file ??
-
- Hehe, I wrote this one last week. Scan the file for VHDR, and then
- add 20(ish) to it, and do a deek. If you find it jibberish, do a -1.
-
- > 2) How do I convert a WAV (PC) sample to a raw one.. (Or just the file-
- > format :)..
-
- Err, use an external proggie, there are loads.
-
- > 3) The file-format if an AIFF file ??
-
- No idea.
-
- > 4) If I want to scale a 8-bit sample (to another rate), is it as simple
- > as scaling GFX ??, is it just a matter of taking out, say every 3rd
- > byte or is there some nasty trick that needs to be done ??
- > (calc. average of two bytes to make it even better ??)
-
- Try it, you'll be suprised.
-
-
- _ _ _ _ _ _ | Ferengi Rule of Acquisition #27
- |_> |_| |_| |\ | |_ | | | / | |
- |_> | \ | | | \| |_ |_ |_| \_ . | There's nothing more dangerous than an
- | honest businessman.
- --------------+---------------
- http://www.mirex.demon.co.uk
- Member: IAPA & Team *AMOS*
-
-